/**
 * Copyright (C)  2011  chen wei hua.
 * Permission is granted to copy, distribute and/or modify this document
 * under the terms of the GNU Free Documentation License, Version 2.0
 * or any later version published by the Free Software Foundation;
 * with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
 * A copy of the license is included in the section entitled "GNU Free Documentation License".
 */
package com.javaeye.order.service;

import java.util.List;

import com.javaeye.order.dto.Customer;
import com.javaeye.common.web.PageInfo;
import com.javaeye.common.web.ReportData;

public interface ICustomerService {
	
	public List<Customer> getCustomerList(Customer condition, PageInfo pageInfo);
	
	public Customer saveCustomer(Customer customer);
	
	public boolean removeCustomer(String id);
	
	public Customer getCustomer(String id);
	
	public List<Customer> getAutoCompleteCustomers(String name, int size);
	
	public List<ReportData> getNewCustomerAtMonth(int month);
}
